package com.apex.security.api.service;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by IntelliJ IDEA.
 * user:wangj
 * date:2018/4/8
 * Time: 20:38
 */
public interface TBsdtWxUserServiceApi {

    @PostMapping("/rest/api/weixin/save")
    String save(@RequestBody String code);

    @GetMapping("/rest/api/weixin/login")
    String login(@RequestParam("CookieID")String cookieId);

    @PostMapping("/rest/api/weixin/update")
    String update(@RequestBody String code);
}
